# -*- coding: utf-8 -*-
import os
from subprocess import *

print(112)
a=['a','b','c']
for i in a:
    print(a.index(i))

print(1111111111111111111111111111)

b={"a":"b","c":"d"}
for i in b:
    print(i)
    print(b.get(i))

print(22222222222222222222222)
c=2
if c>1:
    print(1212)

d=os.popen("cmd")
print(d)

e=Popen("dir",shell=True,stdout=PIPE,stderr=PIPE)
outputLines=e.stdout.readlines()
for line in outputLines:
    line=line.strip().decode(encoding='gbk') #这是在windows中输出中文的办法
    print(line)


























